package com.hetang.maijiayun.adaptertools.b2cinterface.paipai.domain;

import java.util.Date;
import java.util.List;

/**  
 * paipaiApi 商品信息结构
 * @copyright bjhetang
 * @author leoshen    
 * @version 1.0
 * @created 2011-10-10 AM9:44:22 
 */ 
public class Item {

	private String itemCode;		//商品编码，商品在拍拍上标识的唯一编码
	private String itemLocalCode;	//商家对商品的编码，商家自行保证该编码的唯一性，否则根据该编码查询可能出错。
	private String itemName;		//商品名称
	private String itemState;		//商品状态,
	private Integer stateCode;
//	IS_FOR_SALE 上架销售 
//	IS_IN_STORE 仓库中 
//	IS_PRE_DELETE 预删除 
//	IS_SALE_ON_TIME 自定义时间上架 
//	IS_SOLD_OUT 售完 

	private String stateDesc;		//商品状态的说明
	private String relatedItems;	//推荐搭配商品编码，多个以‘|’号隔开
	private String itemProperty;	//商品属性
	private String properties;		//商品的属性组合串 格式如：key1_value1|key1_value1|key1_value1|.....
	private Integer stockCount;		//商品库存总数量
	private String itemPrice;		//商品销售单价
	private String marketPrice;		//商品的市场价格
	private String expressPrice;	//商品的快递费用
	private String emsPrice;		//商品的EMS费用
	private String mailPrice;		//商品的邮寄费用
	
	private String categoryId;		//商品的种类id（店铺自定义分类）
	private Integer classId;		//商品的类目id
	private Integer cityId;			//城市id
	private Integer provinceId;		//省份id
	private Integer countryId;		//国家id
	private String attr;			//商品的属性串编码
	private String attr2;			//新格式商品的属性串,如：version=1,1:1|2:2|a:a|b:1,2,4^a:你好
	private String customAttr;		//商品的商家自定义属性
	
	//parsedAttrList 商品的商家自定义属性 Start()
	private List<ParsedAttrList> parsedAttrList;
//	private Integer attrId;			//商品的属性串编码id
//	private String attrName;		//商品的属性串编码名称
//	private Integer attrOptionId;	//商品的属性串编码值id
//	private String attrOptionName;	//商品的属性串编码值名称
	//parsedAttrList 商品的商家自定义属性 End()
	
	//extendList 商品扩展属性列表Start() 
	private List<ExtendList> extendList;
//	private Integer extendCode;		//商品扩展属性编码id
//	private String extendName;		//商品扩展属性名称
//	private String showMeg;			//商品扩展属性名称说明
//	private String extendValue;		//商品扩展属性值
	//extendList 商品扩展属性列表End()
	
	private Integer buyLimit;		//购买时的数量限制
	private String detailInfo;		//商品的详情内容
	private Integer freightId;		//商品的运费模板id
	private Integer guarantee14Days;	//是否14天包换  1是 0否
	private Integer guarantee7Days;		//是否7天包退   1是 0否
	private Integer guaranteeCompensation;	//是否假一赔三    1是 0否
	private Integer guaranteeRepair;	//是否提供保修服务 1是 0否
	private Integer invoiceItem;		//是否提供发票 1是 0否
	private Date createTime;		//发布时间
	private Date lastModifyTime;	//最后修改时间
	private Date lastToSaleTime;	//上次上架时间
	private Date lastToStoreTime;	//上次下架时间
	private String payType;			//支持的付款方式 (发货方式)，以“,”隔开 PT_MONEY=款到发货 PT_COD_OLD=货到付款 PT_BAOBEI=见宝贝描述 PT_TENPAY=支持财付通方式(暂时不用) PT_COD=货到付款
	private String picLink;			//商品图片连接
	private Integer qqvipDiscount;	//QQ会员折扣 万分之几
	private Integer qqvipItem;		//是否QQ会员店商品
	private Integer recommendItem;	//是否推荐商品 1是 0否
	private String regionInfo;		//地区信息
	private Integer reloadCount;	//重上架次数
	private Integer secondHandItem;	//是否为二手商品  1是 0否
	private Integer sellerPayFreight;	//卖家或者买家承担运费的情况 1 卖家承担运费 2 买家承担运费 3 同城交易，无需运费 大于或等于10 买家承担运费，表示支持运费模板，该值即为运费模板ID
	
	private String sellerName;		//店铺名称
	private Long sellerUin;		//卖家QQ号
	private String theme;			//商品详情页面主题
	private Integer validDuration;		//商品上架后卖N天后下架（单位以秒计，目前系统N只支持7天和14天两个值）
	private Integer visitCount;		//访问的次数
	private Integer soldCount;		//近期销售的商品数量
	private Integer soldTotalCount;	//销售的商品数量
	private Integer soldTimes;		//近期销售的订单次数
	private Integer soldTotalTimes;	//销售订单的总次数
	private Integer buyNum;			//近期购买商品数量
	
	private Integer totalBuyNum;	//购买商品的总数量
	private Integer buyCount;		//近期下单的订单次数
	private Integer totalBuyCount;	//下单的订单总次数
	private Integer weight;			//商品的重量
	private Integer windowItem;		//是否为橱窗商品 1是 0否
	private Integer sizeTableId;	//商品的尺码表Id
	
//	stockList 商品的库存列表Start()
	private List<Stock> stockList;

	public String getItemCode() {
		return itemCode;
	}
	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	public String getItemLocalCode() {
		return itemLocalCode;
	}
	public void setItemLocalCode(String itemLocalCode) {
		this.itemLocalCode = itemLocalCode;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getItemState() {
		return itemState;
	}
	public void setItemState(String itemState) {
		this.itemState = itemState;
	}
	public String getStateDesc() {
		return stateDesc;
	}
	public void setStateDesc(String stateDesc) {
		this.stateDesc = stateDesc;
	}
	public String getRelatedItems() {
		return relatedItems;
	}
	public void setRelatedItems(String relatedItems) {
		this.relatedItems = relatedItems;
	}
	public String getItemProperty() {
		return itemProperty;
	}
	public void setItemProperty(String itemProperty) {
		this.itemProperty = itemProperty;
	}
	public String getProperties() {
		return properties;
	}
	public void setProperties(String properties) {
		this.properties = properties;
	}
	public Integer getStockCount() {
		return stockCount;
	}
	public void setStockCount(Integer stockCount) {
		this.stockCount = stockCount;
	}
	public String getItemPrice() {
		return itemPrice;
	}
	public void setItemPrice(String itemPrice) {
		this.itemPrice = itemPrice;
	}
	public String getMarketPrice() {
		return marketPrice;
	}
	public void setMarketPrice(String marketPrice) {
		this.marketPrice = marketPrice;
	}
	public String getExpressPrice() {
		return expressPrice;
	}
	public void setExpressPrice(String expressPrice) {
		this.expressPrice = expressPrice;
	}
	public String getEmsPrice() {
		return emsPrice;
	}
	public void setEmsPrice(String emsPrice) {
		this.emsPrice = emsPrice;
	}
	public String getMailPrice() {
		return mailPrice;
	}
	public void setMailPrice(String mailPrice) {
		this.mailPrice = mailPrice;
	}
	public String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}
	public Integer getClassId() {
		return classId;
	}
	public void setClassId(Integer classId) {
		this.classId = classId;
	}
	public Integer getCityId() {
		return cityId;
	}
	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}
	public Integer getProvinceId() {
		return provinceId;
	}
	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}
	public Integer getCountryId() {
		return countryId;
	}
	public void setCountryId(Integer countryId) {
		this.countryId = countryId;
	}
	public String getAttr() {
		return attr;
	}
	public void setAttr(String attr) {
		this.attr = attr;
	}
	public String getCustomAttr() {
		return customAttr;
	}
	public void setCustomAttr(String customAttr) {
		this.customAttr = customAttr;
	}
	public Integer getBuyLimit() {
		return buyLimit;
	}
	public void setBuyLimit(Integer buyLimit) {
		this.buyLimit = buyLimit;
	}
	public String getDetailInfo() {
		return detailInfo;
	}
	public void setDetailInfo(String detailInfo) {
		this.detailInfo = detailInfo;
	}
	public Integer getFreightId() {
		return freightId;
	}
	public void setFreightId(Integer freightId) {
		this.freightId = freightId;
	}
	public Integer getGuarantee14Days() {
		return guarantee14Days;
	}
	public void setGuarantee14Days(Integer guarantee14Days) {
		this.guarantee14Days = guarantee14Days;
	}
	public Integer getGuarantee7Days() {
		return guarantee7Days;
	}
	public void setGuarantee7Days(Integer guarantee7Days) {
		this.guarantee7Days = guarantee7Days;
	}
	public Integer getGuaranteeCompensation() {
		return guaranteeCompensation;
	}
	public void setGuaranteeCompensation(Integer guaranteeCompensation) {
		this.guaranteeCompensation = guaranteeCompensation;
	}
	public Integer getGuaranteeRepair() {
		return guaranteeRepair;
	}
	public void setGuaranteeRepair(Integer guaranteeRepair) {
		this.guaranteeRepair = guaranteeRepair;
	}
	public Integer getInvoiceItem() {
		return invoiceItem;
	}
	public void setInvoiceItem(Integer invoiceItem) {
		this.invoiceItem = invoiceItem;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	public Date getLastToSaleTime() {
		return lastToSaleTime;
	}
	public void setLastToSaleTime(Date lastToSaleTime) {
		this.lastToSaleTime = lastToSaleTime;
	}
	public Date getLastToStoreTime() {
		return lastToStoreTime;
	}
	public void setLastToStoreTime(Date lastToStoreTime) {
		this.lastToStoreTime = lastToStoreTime;
	}
	public String getPayType() {
		return payType;
	}
	public void setPayType(String payType) {
		this.payType = payType;
	}
	public String getPicLink() {
		return picLink;
	}
	public void setPicLink(String picLink) {
		this.picLink = picLink;
	}
	public Integer getQqvipDiscount() {
		return qqvipDiscount;
	}
	public void setQqvipDiscount(Integer qqvipDiscount) {
		this.qqvipDiscount = qqvipDiscount;
	}
	public Integer getQqvipItem() {
		return qqvipItem;
	}
	public void setQqvipItem(Integer qqvipItem) {
		this.qqvipItem = qqvipItem;
	}
	public Integer getRecommendItem() {
		return recommendItem;
	}
	public void setRecommendItem(Integer recommendItem) {
		this.recommendItem = recommendItem;
	}
	public String getRegionInfo() {
		return regionInfo;
	}
	public void setRegionInfo(String regionInfo) {
		this.regionInfo = regionInfo;
	}
	public Integer getReloadCount() {
		return reloadCount;
	}
	public void setReloadCount(Integer reloadCount) {
		this.reloadCount = reloadCount;
	}
	public Integer getSecondHandItem() {
		return secondHandItem;
	}
	public void setSecondHandItem(Integer secondHandItem) {
		this.secondHandItem = secondHandItem;
	}
	public Integer getSellerPayFreight() {
		return sellerPayFreight;
	}
	public void setSellerPayFreight(Integer sellerPayFreight) {
		this.sellerPayFreight = sellerPayFreight;
	}
	public String getSellerName() {
		return sellerName;
	}
	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}
	public Long getSellerUin() {
		return sellerUin;
	}
	public void setSellerUin(Long sellerUin) {
		this.sellerUin = sellerUin;
	}
	public String getTheme() {
		return theme;
	}
	public void setTheme(String theme) {
		this.theme = theme;
	}
	public Integer getValidDuration() {
		return validDuration;
	}
	public void setValidDuration(Integer validDuration) {
		this.validDuration = validDuration;
	}
	public Integer getVisitCount() {
		return visitCount;
	}
	public void setVisitCount(Integer visitCount) {
		this.visitCount = visitCount;
	}
	public Integer getSoldCount() {
		return soldCount;
	}
	public void setSoldCount(Integer soldCount) {
		this.soldCount = soldCount;
	}
	public Integer getSoldTotalCount() {
		return soldTotalCount;
	}
	public void setSoldTotalCount(Integer soldTotalCount) {
		this.soldTotalCount = soldTotalCount;
	}
	public Integer getSoldTimes() {
		return soldTimes;
	}
	public void setSoldTimes(Integer soldTimes) {
		this.soldTimes = soldTimes;
	}
	public Integer getSoldTotalTimes() {
		return soldTotalTimes;
	}
	public void setSoldTotalTimes(Integer soldTotalTimes) {
		this.soldTotalTimes = soldTotalTimes;
	}
	public Integer getBuyNum() {
		return buyNum;
	}
	public void setBuyNum(Integer buyNum) {
		this.buyNum = buyNum;
	}
	public Integer getTotalBuyNum() {
		return totalBuyNum;
	}
	public void setTotalBuyNum(Integer totalBuyNum) {
		this.totalBuyNum = totalBuyNum;
	}
	public Integer getBuyCount() {
		return buyCount;
	}
	public void setBuyCount(Integer buyCount) {
		this.buyCount = buyCount;
	}
	public Integer getTotalBuyCount() {
		return totalBuyCount;
	}
	public void setTotalBuyCount(Integer totalBuyCount) {
		this.totalBuyCount = totalBuyCount;
	}
	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
	public Integer getWindowItem() {
		return windowItem;
	}
	public void setWindowItem(Integer windowItem) {
		this.windowItem = windowItem;
	}
	public Integer getSizeTableId() {
		return sizeTableId;
	}
	public void setSizeTableId(Integer sizeTableId) {
		this.sizeTableId = sizeTableId;
	}
	public List<Stock> getStockList() {
		return stockList;
	}
	public void setStockList(List<Stock> stockList) {
		this.stockList = stockList;
	}
	public String getAttr2() {
		return attr2;
	}
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	public List<ExtendList> getExtendList() {
		return extendList;
	}
	public void setExtendList(List<ExtendList> extendList) {
		this.extendList = extendList;
	}
	public List<ParsedAttrList> getParsedAttrList() {
		return parsedAttrList;
	}
	public void setParsedAttrList(List<ParsedAttrList> parsedAttrList) {
		this.parsedAttrList = parsedAttrList;
	}
	public Integer getStateCode() {
		return stateCode;
	}
	public void setStateCode(Integer stateCode) {
		this.stateCode = stateCode;
	}
}
